//#region Copyright (c) Roni Schuetz, Switzerland. All Rights Reserved
//// * --------------------------------------------------------------------- *
//// *                              Roni Schuetz                             *
//// *              Copyright (c) 2008 All Rights reserved                   *
//// *                                                                       *
//// * Shared Cache high-performance, distributed caching and    *
//// * replicated caching system, generic in nature, but intended to         *
//// * speeding up dynamic web and / or win applications by alleviating      *
//// * database load.                                                        *
//// *                                                                       *
//// * This Software is written by Roni Schuetz (schuetz AT gmail DOT com)   *
//// *                                                                       *
//// * This library is free software; you can redistribute it and/or         *
//// * modify it under the terms of the GNU Lesser General Public License    *
//// * as published by the Free Software Foundation; either version 2.1      *
//// * of the License, or (at your option) any later version.                *
//// *                                                                       *
//// * This library is distributed in the hope that it will be useful,       *
//// * but WITHOUT ANY WARRANTY; without even the implied warranty of        *
//// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      *
//// * Lesser General Public License for more details.                       *
//// *                                                                       *
//// * You should have received a copy of the GNU Lesser General Public      *
//// * License along with this library; if not, write to the Free            *
//// * Software Foundation, Inc., 59 Temple Place, Suite 330,                *
//// * Boston, MA 02111-1307 USA                                             *
//// *                                                                       *
//// *       THIS COPYRIGHT NOTICE MAY NOT BE REMOVED FROM THIS FILE.        *
//// * --------------------------------------------------------------------- *
//#endregion 

//using System;
//using System.Text;
//using System.Collections.Generic;
//using Microsoft.VisualStudio.TestTools.UnitTesting;

//using SERVER = SharedCache.WinServiceCommon.Provider.Server.IndexusServerReplicationCache;
//using CLIENT = SharedCache.WinServiceCommon.Provider.Cache.IndexusDistributionCache;

//namespace SharedCache.Testing
//{
//  /// <summary>
//  /// Testing Client and Server Providers for distributed / replicated caching
//  /// </summary>
//  [TestClass]
//  public class ProviderTest
//  {
//    public ProviderTest()
//    {
//    }

//    #region Additional test attributes
//    //
//    // You can use the following additional attributes as you write your tests:
//    //
//    // Use ClassInitialize to run code before running the first test in the class
//    // [ClassInitialize()]
//    // public static void MyClassInitialize(TestContext testContext) { }
//    //
//    // Use ClassCleanup to run code after all tests in a class have run
//    // [ClassCleanup()]
//    // public static void MyClassCleanup() { }
//    //
//    // Use TestInitialize to run code before running each test 
//    // [TestInitialize()]
//    // public void MyTestInitialize() { }
//    //
//    // Use TestCleanup to run code after each test has run
//    // [TestCleanup()]
//    // public void MyTestCleanup() { }
//    //
//    #endregion

//    /// <summary>
//    /// Providers the server provider test.
//    /// </summary>
//    [TestMethod]
//    public void ProviderTestServer()
//    {
//      long expected = 1;
//      Assert.AreEqual(expected, SERVER.CurrentProvider.Count, @"Configured server amount is not same!");

//      foreach (string server in SERVER.CurrentProvider.Servers)
//      {
//        Assert.IsNotNull(server);
//        Assert.AreNotSame(string.Empty, server);
//      }
//    }

//    /// <summary>
//    /// Providers the client provider test.
//    /// </summary>
//    [TestMethod]
//    public void ProviderTestClient()
//    {
//      long expected = 1;
//      Assert.AreEqual(expected, CLIENT.SharedCache.Count, @"Configured server amount is not same!");

//      foreach (string server in CLIENT.SharedCache.Servers)
//      {
//        Assert.IsNotNull(server);
//        Assert.AreNotSame(string.Empty, server);
//      }
			
//    }
//  }
//}
